package com.hunliji.monitor.service.api;

import com.hunliji.common.response.PageData;
import com.hunliji.monitor.service.api.model.bo.BusinessTableRecordBO;
import com.hunliji.monitor.service.api.model.param.QueryBusinessTableRecordParam;

import java.util.List;

/**
 * 业务表记录
 * @author wuchen
 */
public interface BusinessTableRecordService {
    /**
     * 新增
     * @param businessTableRecordBO
     */
    BusinessTableRecordBO add(BusinessTableRecordBO businessTableRecordBO);

    /**
     * 更新
     * @param businessTableRecordBO
     */
    void update(BusinessTableRecordBO businessTableRecordBO);

    /**
     * 查询
     * @param queryBusinessTableRecordParam
     * @return
     */
    PageData<BusinessTableRecordBO> queryPage(QueryBusinessTableRecordParam queryBusinessTableRecordParam);

    /**
     * 查询
     * @param queryBusinessTableRecordParam
     * @return
     */
    List<BusinessTableRecordBO> query(QueryBusinessTableRecordParam queryBusinessTableRecordParam);

    /**
     * 使用id查询
     * @param id
     * @return
     */
    BusinessTableRecordBO queryById(Long id);
}
